package com.sunb2b.service;

import javax.inject.Inject;

import org.springframework.stereotype.Service;

import com.sunb2b.dao.ViewCountDAO;
import com.sunb2b.entity.ViewCount;

@Service
public class ViewCountService {
	@Inject
	private ViewCountDAO vcDao;
	
	public ViewCount view(ViewCount vc){
		return vcDao.view(vc.getEntityId(), vc.getModule());
	}
}
